﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Mondial2014.Models.Competition;
using Mondial2014.Models.Context;

namespace Mondial2014.Controllers
{
    public class HomeController : Controller
    {
        private readonly Mondial2014DbContext m_Context = new Mondial2014DbContext();

        public ActionResult Index()
        {
            return View(m_Context.GetGroupFixtures());
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}